<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@page import="avicit.platform6.core.locale.PlatformLocalesJSTL"%>
<%@page import="java.util.Locale"%>
<%@page import="avicit.platform6.api.session.SessionHelper"%>
<%@page import="java.net.URLDecoder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@ taglib prefix="sec"
	uri="/WEB-INF/tags/shiro.tld"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>表单管理(档案 ，首页)</title>
<base href="<%=ViewUtil.getRequestPath(request)%>">
<%
	Locale locale =SessionHelper.getLocaleByUser(request);
%>
<jsp:include
	page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<%
	String sysId = request.getParameter("sysId");
	String tableName = request.getParameter("tableName");
	String nodeId = request.getParameter("nodeId");
	String tableId = request.getParameter("tableId");
	String nodeName = URLDecoder.decode(request.getParameter("nodeName"), "utf-8");
%>
<script type="text/javascript"
	src="avicit/cbb/techclass/billdefine/billdefine_archive_manager.js"></script>
<script type="text/javascript">
var baseurl = "<%=ViewUtil.getRequestPath(request)%>";
$(function() {
	
	sysId = "<%=sysId%>";
	tableName = "<%=tableName%>";
	tableId = "<%=tableId%>";
	nodeId = "<%=nodeId%>";
	nodeName = "<%=nodeName%>";
	document.getElementById("iframe_tab_common").src = "avicit/cbb/techclass/billdefine/billdefine_archive_common.jsp?sysId="
		+ sysId
		+ "&tableId="
		+ tableId
		+ "&nodeId="
		+ nodeId
		+ "&tableName=" + tableName + "&nodeName=" + encodeURI(encodeURI(nodeName));
		//onLoadSuccess : buttonControl();
		var height = document.documentElement.clientHeight - 45;
		document.getElementById("tabCommon").style.height = height;
		document.getElementById("tabUnfiled").style.height = height;
		document.getElementById("tabRecord").style.height = height;
		document.getElementById("tabFiled").style.height = height;
	});
	

// SanXiaFiles Create By Tangkun start
function getResultByInput(){
	$('#cbbBillDefineDataGrid').datagrid({
		url : 'platform/cbb/billDefineManagerController/getCbbBillDefineManagerData.json?sysId='
			+ sysId
			+ '&nodeId='
			+ nodeId
			+ "&tableName="
			+ tableName
			+ "&tableId="
			+ tableId + "&nodeName=" + nodeName
			+ "&inputWord=" + encodeURI(encodeURI($('#query').val()))
	});
}

function keyDownQuery(){
	if(event.keyCode==13){
		getResultByInput();
	}
}
// SanXiaFiles Create By Tangkun End
</script>
<style type="text/css">
.textbox {
	border: solid 1px #a5acb5;
}

.input,img {
	vertical-align: middle;
}

<!--
实现input和img水平对齐 -->.labelbg {
	background:
		url('../../js/jQuery/jquery-easyui-1.3.5/themes/icons/required.gif')
		right 0 no-repeat;
}
</style>
</head>
<body id="myBody" class="easyui-layout">
	<div id="detailDiv" region="center" style="height:0; font-size:0" fit="true">
		<div id="tt" class="easyui-tabs" data-options="fit:true">
			<%-- 普通 --%>
			<div title="普通" style="overflow: hidden;"
				id="tabCommon" data-options="fit:true">
				<iframe id="iframe_tab_common" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 未归档 --%>
			<div title="未归档" style="overflow: hidden;" id="tabUnfiled"
				data-options="fit:true">
				<iframe id="iframe_tab_unfiled" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 著录 --%>
			<div title="著录" style="overflow: hidden;"
				id="tabRecord" data-options="fit:true">
				<iframe id="iframe_tab_record" name="iframe_tab_record"
					frameborder="0" style="width: 100%; height: 100%; overflow: hidden;"
					src=""></iframe>
			</div>
			<%-- 已归档 --%>
			<div title="已归档" style="overflow: hidden;"
				id="tabFiled" data-options="fit:true">
				<iframe id="iframe_tab_filed" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
		</div>
	</div>
</body>
</html>
